#ifndef CLIENT_HANDLER_HH_
# define CLIENT_HANDLER_HH_

# include <boost/shared_ptr.hpp>

# include "client.hh"

struct GamePlayer
{
  boost::shared_ptr<Client> client;
  std::string conf_file;
};

class ClientHandler
{
public:
  ClientHandler ();
  ~ClientHandler ();

  void new_client (tcp::socket* sock);

protected:
  tbb::concurrent_hash_map<std::string, GamePlayer > cl_;

  Database* db_;
};

#endif /// !CLIENT_HANDLER_HH_
